<?php
/**
 * 菜单模型
 */
namespace app\msgapi\model;

use think\model\concern\SoftDelete;

class AuthRule extends BaseModel
{
    use SoftDelete;
    protected $deleteTime = 'delete_time';
    protected $defaultSoftDelete = 0;


    // 修改器，导航的url设置为小写
    public function setUrlAttr($value)
    {
        return strtolower($value);
    }
}